package daos.user;

import java.sql.SQLException;
import java.util.List;

import model.entities.User;

public interface UserAppDAO {

    public void insert(User user) throws SQLException;

    public void delete(User user) throws SQLException;

    public void update(User user) throws SQLException;

    public List<User> selectAll() throws SQLException;
    
    public List<User> selectByName(User user) throws SQLException;
    
    public boolean exist(User user) throws SQLException;
}